package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.node.LayuiTreeNode;
import cn.stylefeng.guns.base.pojo.node.ZTreeNode;
import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyZxHuopinFenlei;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyZxHuopinFenleiParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyZxHuopinFenleiResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 装修货品分类表 服务类
 * </p>
 *
 * @author liuy
 * @since 2021-03-11
 */
public interface BtyZxHuopinFenleiService extends IService<BtyZxHuopinFenlei> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2021-03-11
     */
    void add(BtyZxHuopinFenleiParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2021-03-11
     */
    void delete(BtyZxHuopinFenleiParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2021-03-11
     */
    void update(BtyZxHuopinFenleiParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2021-03-11
     */
    BtyZxHuopinFenleiResult findBySpec(BtyZxHuopinFenleiParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2021-03-11
     */
    List<BtyZxHuopinFenleiResult> findListBySpec(BtyZxHuopinFenleiParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2021-03-11
     */
     LayuiPageInfo findPageBySpec(BtyZxHuopinFenleiParam param);

    List<LayuiTreeNode> layuiTree();

    List<ZTreeNode> tree();

    List<LayuiTreeNode> layuiTreeDgd();

    List<ZTreeNode> treeDgd();

    BtyZxHuopinFenlei  getDetailById(Long id);

    List<BtyZxHuopinFenleiResult>  getHpFlList(BtyZxHuopinFenleiParam huopinFenleiParam);

}
